home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK2.toast / Development Kits (Disc 2) / QuickTime / Programming Stuff / Documentation / develop / develop Issue 17 / develop 17 code / MultipleMovies / MyMultipleMoviesApp ƒ / BetterFlattenMovie.h < prev    next >
Encoding:
Text File  |  1993-12-04  |  965 b   |  24 lines  |  [TEXT/KAHL]

  1. //--------------------------------------------------------------------------
  2. //
  3. //        BetterFlattenMovie.
  4. //            by John Wang
  5. //
  6. //        Description:    Better version of FlattenMovie and FlattenMovie Data.  Also
  7. //                        includes two routines for accessing movie resource atoms in
  8. //                        the data fork  (single-fork movies).
  9. //
  10. //        Version:    1.0        11/09/93    Completed for develop column.
  11. //
  12. //--------------------------------------------------------------------------
  13.  
  14. pascal void BetterFlattenMovie(Movie theMovie, long movieFlattenFlags, 
  15.             FSSpec *theFile, OSType creator, ScriptCode scriptTag,
  16.             long createMovieFileFlags, short *resId, const StringPtr resName);
  17.  
  18. pascal Movie BetterFlattenMovieData(Movie theMovie, long movieFlattenFlags, 
  19.             FSSpec *theFile, OSType creator, ScriptCode scriptTag,
  20.             long createMovieFileFlags);
  21.             
  22. OSErr CountMoviesInDataFork(FSSpec *theFile, short *count);
  23. OSErr SearchMoviesInDataFork(FSSpec *theFile, short index, long *fileOffset);
  24.